#include <iostream>
auto func = []() noexcept{
    return;
};
auto func2 = []() {
    return;
};
auto func3 = []() {
    throw(1);
};
auto func4 = []() noexcept{
    throw(1);
};
int main()
{
    std::cout << noexcept(func()) << std::endl;     //输出：1
    std::cout << noexcept(func2()) << std::endl;    //输出：0
    std::cout << noexcept(func3()) << std::endl;    //输出：0
    std::cout << noexcept(func4()) << std::endl;    //输出：1
    std::cout << "111" << std::endl;                //正常输出这一行
    return 0;
}